import Vue from 'vue'

import {
  Button,
  Swipe,
  SwipeItem,
  Lazyload,
  Sticky,
  Loading,
  List,
  Form,
  Field,
  Uploader,
  RadioGroup,
  Radio,
  Tag,
  Skeleton,
  Cell,
  CellGroup,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Sku,
  Checkbox,
  CheckboxGroup,
  SubmitBar,
  Badge,
  Empty,
  Image,
  ContactCard,
  Tab,
  Tabs,
  Grid,
  GridItem,
  AddressList,
  Card
} from 'vant'

const components = [
  Card,
  Button,
  Swipe,
  SwipeItem,
  Lazyload,
  Sticky,
  Loading,
  List,
  Form,
  Field,
  Uploader,
  RadioGroup,
  Radio,
  Tag,
  Skeleton,
  Cell,
  CellGroup,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Sku,
  Checkbox,
  CheckboxGroup,
  SubmitBar,
  Badge,
  Empty,
  Image,
  ContactCard,
  Tab,
  Tabs,
  Grid,
  GridItem,
  AddressList
]

for (const component of components) {
  Vue.use(component)
}
